By comparing the identities of two entities, this inversion control method handles the request to determine if those are equal.
The identity of each entity is obtained by reading a property named "Id", if present.
Namespace:
Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)
Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> Members
Keystone.Carbonite Namespace
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)
Parameters
- leftEntity
-
Type: TEntity
The left entity.
- rightEntity
-
Type: TEntity
The right entity.
Return Value
true if the identities of the two entities are equal, false otherwise.Exception type | Condition |
---|---|
If one or both entities does not have a property named "Id". |
Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
.NET Framework
Supported in: 4.6Others
Xamarin, MonoReference
Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> ClassDao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> Members
Keystone.Carbonite Namespace